package com.myn.springcloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;


/*
**2020年7月4日--下午8:31:00
**@version:
**莫耀华:
**@Description:
*/
@SpringBootApplication
@EnableEurekaClient  //eureka 客户端   //Ribbon 和Eureka 整合以后  客户端可以直接调用 不用关系ip地址和端口号
@EnableFeignClients(basePackages = "com.myh.springcloud")//扫描feign的包 在api哪里
@ComponentScan("com.myh.springcloud")//扫描哪些包
public class UserConsumer_feign_80 { 
	public static void main(String[] args) {
		SpringApplication.run(UserConsumer_feign_80.class, args);
	}
}
//SPRINGCLOUD-PROVIDER-DEPT注册服务的名字